//
//  FPHomeAndMeBaseController.h
//  FinanceProject
//
//  Created by 陈显摆 on 2025/2/24.
//

#import "FPBaseViewController.h"
#import "FPLoginView.h"

NS_ASSUME_NONNULL_BEGIN

//typedef void(^LoginSuccessBlock)(void);

typedef NS_ENUM(NSInteger , TypeOfHomeOrProfile) {
    
    TypeOfHomeOrProfileHome,
    TypeOfHomeOrProfileProfile,
};

@interface FPHomeAndMeBaseController : FPBaseViewController

@property (nonatomic , strong) NSMutableArray *protocolSource;

@property (nonatomic , assign) BOOL showLoginWindow; //!< 在登录界面进入协议 会先隐藏login 再返回回来显示login
@property (nonatomic,strong) FPLoginView *loginView;
@property (nonatomic , assign) BOOL hideTabBar;
@property (nonatomic , strong) NSString *SMSCode;
@property (nonatomic , strong) NSString *phoneNumber;

@property (nonatomic , assign) TypeOfHomeOrProfile controllerType;

//@property (nonatomic , copy) LoginSuccessBlock loginSuccessBlock;

- (void)loginAction;
- (void)showLoginView;
- (void)getSMSCode;
- (void)login;
- (void)getProtocolShowLoginView:(BOOL)showLoginView;
//- (void)stopTimer;

@end

NS_ASSUME_NONNULL_END
